using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace KPIS.GERP.Models.HRM
{
    [Table("HrmMasClassSpecification")]
    public class MasClassSpecification
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ClassSpecId { get; set; }
        public string Name { get; set; }
        public string NameEng { get; set; }
        public Nullable<int> PosTypeId { get; set; }
        public Nullable<int> ClassMax { get; set; }
        public Nullable<int> ClassMin { get; set; }
        public string Remarks { get; set; }
        public string RecordStatus { get; set; }
        public Nullable<int> CreatedBy { get; set; }
        public Nullable<System.DateTime> CreatedWhen { get; set; }
        public Nullable<int> UpdatedBy { get; set; }
        public Nullable<System.DateTime> UpdatedWhen { get; set; }
        public virtual ICollection<FieldPosition> FieldPosition { get; set; }
    }
}
